<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>	
<%@page import="reservation.*" %>		
	
	<style type="text/css">

	#ad{
		padding-top:220px;
		padding-left:10px;
	}
	</style>


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Hotel Management 1.0</title>

<link rel="Stylesheet" type="text/css" href="http://strzyzowski.net:8080/HotelManagment_1.0/style/style2.css" />
	
</head>
<body>
<br><br><br>

<table align=center width=600 height=200 id=panelek>
<tr><td valign=middle align="center">


 
 <table width=600 border=0>
  <tr >
    <th  colspan="2"><p>Podsumowanie:</p></th>
    
  </tr>
  <tr >
    <td  ><p id="price">Data Przyjazdu: &nbsp </p></td>
    <td  ><p id="price"><% java.sql.Date data1 = (java.sql.Date)request.getAttribute("Data1"); 
    						out.println(data1); 
    						session.setAttribute("dejta1", data1); %></p></td>
  </tr>
  <tr >
    <td  ><p id="price">Data Wyjazdu: &nbsp </p></td>
    <td  ><p id="price"><% java.sql.Date data2 = (java.sql.Date)request.getAttribute("Data2");
    						out.println(data2);
    						session.setAttribute("dejta2", data2); %></p></td>
  </tr>
   <tr >
    <td  ><p id="price">Typ Pokoju: &nbsp </p></td>
    <td ><p id="price"><% String stand = (String)request.getAttribute("Stand");
    						out.println(stand);	
    						session.setAttribute("standard", stand); %></p></td>
  </tr>
  <tr >
    <td ><p id="price">Ilość osób w pokoju: &nbsp </p></td>
    <td ><p id="price"><% String osoby = (String)request.getAttribute("Osoby");
    						out.println(osoby);
    						session.setAttribute("ilosc", osoby); %></p></td>
  </tr>
  <tr >
    <td  ><p id="price">Do zapłaty: &nbsp </p></td>
    <td ><p id="price" style="font-weight: bold; font-size: 25px;"><% String cenka = (String)request.getAttribute("Cena");
   																 session.setAttribute("prajse", cenka);	
   																 String id_room = (String)request.getAttribute("id_room");
   																 session.setAttribute("id", id_room);
   																 out.println(cenka);%>zł</p></td>
    															
  </tr>
  <tr>
 
 <!-- <td colspan="2"><p><a href="jsp/register.jsp">Dalej</a></p></td>-->
 <td colspan="2"><p><a href="jsp/sesja/index.jsp?rezerwacja=yes">Next</a></p></td>
 
  </tr>
</table>
</table>


</body>
</html>